package com.etc.factroy;


import com.etc.service.AccountService;
import org.junit.jupiter.api.Test;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.test.context.junit.jupiter.SpringJUnitConfig;

@SpringJUnitConfig(locations = "classpath:applicationContext.xml")
public class AccountServiceTest2 {


    @Autowired
    private AccountService service;


    @Test
    public void test2(){
        System.out.println(service.getAccountById(1));
    }

}
